a110770fd8dfb718915c6f365d0672b4d3c211c5
[git-annex.git] /
1 [[!comment format=mdwn
2  username="https://christian.amsuess.com/chrysn"
3  nickname="chrysn"
4  avatar="http://christian.amsuess.com/avatar/c6c0d57d63ac88f3541522c4b21198c3c7169a665a2f2d733b4f78670322ffdc"
5  subject="+1 on supportunlocked in git-annex config"
6  date="2021-07-09T15:25:53Z"
7  content="""
8 supportunlocked would definitely make sense; it can help protect against users accidentally checking in a file in the wrong mode even though it doesn't fit the repo's workflows.
9
10 The alternative to setting this across all repos using git-annex config, at least in my workflows, would be to set a git hook to reject pushes (to master or synced/master) that contain unlocked files, but that sounds way more complex.
11 """]]